package com.learn.micro_mall.service.request.category;

import com.learn.micro_mall.service.request.BaseRequest;
import com.sun.istack.internal.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class CategoryCreateRequest extends BaseRequest {

    private static final long serialVersionUID = -5979458410391295169L;
    /**
     * 上级分类Id
     */
    private String parentCategoryId;
    /**
     * 分类名称
     */
    @NotNull
    private String categoryName;

    /**
     * 分类参数
     */
    private List<String> categoryParams;
}
